package cn.exrick.mapper;

import cn.exrick.pojo.TbQuestionComment;
import cn.exrick.pojo.TbQuestionCommentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbQuestionCommentMapper {

    int countByExample(TbQuestionCommentExample example);

    int deleteByExample(TbQuestionCommentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbQuestionComment record);

    int insertSelective(TbQuestionComment record);

    List<TbQuestionComment> selectByExample(TbQuestionCommentExample example);

    TbQuestionComment selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbQuestionComment record, @Param("example") TbQuestionCommentExample example);

    int updateByExample(@Param("record") TbQuestionComment record, @Param("example") TbQuestionCommentExample example);

    int updateByPrimaryKeySelective(TbQuestionComment record);

    int updateByPrimaryKey(TbQuestionComment record);

}